import json
import jsonpath

# 书店所有书的作者
obj = json.load(open("01_jsonpath.json", "r", encoding="utf-8"))

author_list = jsonpath.jsonpath(obj, "$.store.book[*].author")

print(author_list)
